/**
 * This file is Copyright © 2008 Software Craftsmen Limited. All Rights Reserved.
 */
package com.softwarecraftsmen.collections.sets;

import org.jetbrains.annotations.NotNull;

import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.TreeSet;
import java.util.Comparator;

public interface SetLegacyConversions<V>
{
	@NotNull
	HashSet<V> toLegacyHashSet();

	@NotNull
	LinkedHashSet<V> toLegacyLinkedHashSet();

	@NotNull
	TreeSet<V> toLegacyTreeSet();

	@NotNull
	TreeSet<V> toLegacyTreeSet(final @NotNull Comparator<? super V> comparator);
}
